﻿﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:wb="http://open.weibo.com/wb">
<head>
<base href="<%=basePath%>">
</script>
<script type="text/javascript" async="" src="style/js/conversion.js"></script>
<script src="style/js/allmobilize.min.js" charset="utf-8"
	id="allmobilize"></script>
<style type="text/css"></style>
<meta content="no-siteapp" http-equiv="Cache-Control">
<link media="handheld" rel="alternate">
<!-- end 云适配 -->
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>我收藏的职位-招聘服务-拉勾网-最专业的互联网招聘平台</title>
<meta content="23635710066417756375" property="qc:admins">
<meta name="description" content="拉勾网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在拉勾网">
<meta name="keywords"
	content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招">
<meta content="QIQ6KC1oZ6" name="baidu-site-verification">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!-- <div class="web_root"  style="display:none">h</div> -->
<script type="text/javascript">
	var ctx = "h";
	console.log(1);
</script>
<link href="h/images/favicon.ico" rel="Shortcut Icon">
<link href="style/css/style.css" type="text/css" rel="stylesheet">
<link href="style/css/external.min.css" type="text/css" rel="stylesheet">
<link href="style/css/popup.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="style/js/jquery.1.10.1.min.js"></script>
<script src="style/js/jquery.lib.min.js" type="text/javascript"></script>
<script type="text/javascript" src="style/js/ajaxfileupload.js"></script>
<script src="style/js/additional-methods.js" type="text/javascript"></script>
<!--[if lte IE 8]>
    <script type="text/javascript" src="style/js/excanvas.js"></script>
<![endif]-->
<script type="text/javascript">
	var youdao_conv_id = 271546;
</script>
<link rel="stylesheet" href="fenye/myPagination.css">
	<script src="fenye/myPagination.js"></script>
<script src="style/js/conv.js" type="text/javascript"></script>
<script src="style/js/ajaxCross.json" charset="UTF-8"></script>
<script type="text/javascript">
function quxiao(obj){
	$.post("DoDeleteCollectionServlet",{pid:obj},function(oval){
		var x = document.getElementById(obj);
		/* $('#obj').html(oval); */
		x.innerHTML = oval;
	});
}
function toudi(obj1,obj2){
	$.post("AddDeliveryServlet",{pid:obj1,cid:obj2},function(oval){
	     alert(oval);
	});
}
</script>
</head>
<body>
	<div id="body">
		   <!-- 开始 top -->
	        <jsp:include page="gerentop.jsp"></jsp:include>
          <!-- 结束 top -->

		<!-- end #header -->
		<div id="container">

			<div class="clearfix">
				<div class="content_l">
					<dl class="c_collections">
						<dt>
							<h1>
								<em></em>我收藏的职位
							</h1>
						</dt>
						<dd>
							<form id="collectionsForm">
								<ul class="reset my_collections">
								<c:forEach items="${CollectPosition}" var="collect" varStatus="status">
								<c:forEach items="${companyList}" var="company" varStatus="status">
			            <c:if test="${collect.cid == company.cid}">
									<li data-id="133340"><a title="${company.cname}" target="_blank"
										href="h/c/6636.html"> <img alt="${company.cname}"
											src="ImgShowServlet?fileName=${company.clogo}">
									</a>
										<div class="co_item">
											<h2 title="${collect.pname}">
												<a target="_blank" href="h/jobs/133340.html"> <em>${collect.pname}</em>
													<span>（${collect.monthlyMin}k-${collect.monthlyMax}k）</span>
												</a>
											</h2>
											<span class="co_time">发布时间：${collect.releaseTime}</span>
											<div class="co_cate">${company.cshortName} / ${collect.pcity} / ${collect.pyears} / ${collect.qualifications}</div>
											<span class="co_youhuo c7">${collect.treatment}</span>
											<%--  <a	class="collection_link" target="_blank"
												href="AddDeliveryServlet?pid=${collect.pid}&cid=${collect.cid}" onclick="toudi(${collect.pid},${collect.cid})">投递简历</a> --%> 
												 <a	class="collection_link"  onclick="toudi(${collect.pid},${collect.cid})">投递简历</a>
												<i></i>
												 <a id="${collect.pid}" onclick="quxiao(${collect.pid})" class="collectionCancel collection_link collected">取消收藏</a>										
										</div></li>
										 </c:if></c:forEach></c:forEach>
									<div id="pagination" class="pagination"></div>
				<script type="text/javascript">
				window.onload=function(){
					new myPagination({
						id:'pagination',
						curPage:${index},
						pageTotal:${pagecount},
						pageAmount: 3,
						dataTotal:${count},
						pageSize:3,
						showPageTotalFlag:true,
						showSkipInputFlag:true,
						getPage:function(page){
							console.log(page);
							location='ToCollectionServlet?page='+page;
						}
					});
					
				}
				
				</script>
								</ul>
							</form>
						</dd>
					</dl>
				</div>
				
				<div class="content_r">
					<div class="mycenterR" id="myInfo">
						<h2>我的信息</h2>
						<a href="ToCollectionServlet">我收藏的职位</a> <br> 
						<a target="_blank" href="ToMListServlet">我的职位推荐</a>
					</div>
					<!--end #myInfo-->
					<div class="greybg qrcode mt20">
						<img width="242" height="242" alt="拉勾微信公众号二维码"
							src="style/images/qr_delivery.png"> <span class="c7">扫描拉勾二维码，微信轻松搜工作</span>
					</div>
				</div>
			</div>
			<script src="style/js/collections.min.js"></script>
			<script>
				$(function() {
					$('.Pagination').pager({
						currPage : 1,
						pageNOName : "pageNo",
						form : "collectionsForm",
						pageCount : 1,
						pageSize : 5
					});
				});
			</script>
			<div class="clear"></div>
			<input type="hidden" value="4c6ae41d8c254f91becdb5f9ef2d4394"
				id="resubmitToken"> <a rel="nofollow" title="回到顶部"
				id="backtop"></a>
		</div>
		<!-- end #container -->
	</div>
	<!-- end #body -->
	<div id="footer">
		<div class="wrapper">
			<a rel="nofollow" target="_blank" href="h/about.html">联系我们</a> <a
				target="_blank" href="h/af/zhaopin.html">互联网公司导航</a> <a
				rel="nofollow" target="_blank" href="http://e.weibo.com/lagou720">拉勾微博</a>
			<a rel="nofollow" href="javascript:void(0)" class="footer_qr">拉勾微信<i></i></a>
			<div class="copyright">
				&copy;2013-2014 Lagou <a
					href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action"
					target="_blank">京ICP备14023790号-2</a>
			</div>
		</div>
	</div>

	<script src="style/js/core.min.js" type="text/javascript"></script>
	<script src="style/js/popup.min.js" type="text/javascript"></script>

	<!--  -->

	<script type="text/javascript">
		$(function() {
			$('#noticeDot-1').hide();
			$('#noticeTip a.closeNT').click(function() {
				$(this).parent().hide();
			});
		});
		var index = Math.floor(Math.random() * 2);
		var ipArray = new Array('42.62.79.226', '42.62.79.227');
		var url = "ws://" + ipArray[index] + ":18080/wsServlet?code=314873";
		var CallCenter = {
			init : function(url) {
				var _websocket = new WebSocket(url);
				_websocket.onopen = function(evt) {
					console.log("Connected to WebSocket server.");
				};
				_websocket.onclose = function(evt) {
					console.log("Disconnected");
				};
				_websocket.onmessage = function(evt) {
					//alert(evt.data);
					var notice = jQuery.parseJSON(evt.data);
					if (notice.status[0] == 0) {
						$('#noticeDot-0').hide();
						$('#noticeTip').hide();
						$('#noticeNo').text('').show().parent('a').attr('href',
								ctx + '/mycenter/delivery.html');
						$('#noticeNoPage').text('').show().parent('a').attr(
								'href', ctx + '/mycenter/delivery.html');
					} else {
						$('#noticeDot-0').show();
						$('#noticeTip strong').text(notice.status[0]);
						$('#noticeTip').show();
						$('#noticeNo').text('(' + notice.status[0] + ')')
								.show().parent('a').attr('href',
										ctx + '/mycenter/delivery.html');
						$('#noticeNoPage').text(' (' + notice.status[0] + ')')
								.show().parent('a').attr('href',
										ctx + '/mycenter/delivery.html');
					}
					$('#noticeDot-1').hide();
				};
				_websocket.onerror = function(evt) {
					console.log('Error occured: ' + evt);
				};
			}
		};
		CallCenter.init(url);
	</script>

	<div id="cboxOverlay" style="display: none;"></div>
	<div id="colorbox" class="" role="dialog" tabindex="-1"
		style="display: none;">
		<div id="cboxWrapper">
			<div>
				<div id="cboxTopLeft" style="float: left;"></div>
				<div id="cboxTopCenter" style="float: left;"></div>
				<div id="cboxTopRight" style="float: left;"></div>
			</div>
			<div style="clear: left;">
				<div id="cboxMiddleLeft" style="float: left;"></div>
				<div id="cboxContent" style="float: left;">
					<div id="cboxTitle" style="float: left;"></div>
					<div id="cboxCurrent" style="float: left;"></div>
					<button type="button" id="cboxPrevious"></button>
					<button type="button" id="cboxNext"></button>
					<button id="cboxSlideshow"></button>
					<div id="cboxLoadingOverlay" style="float: left;"></div>
					<div id="cboxLoadingGraphic" style="float: left;"></div>
				</div>
				<div id="cboxMiddleRight" style="float: left;"></div>
			</div>
			<div style="clear: left;">
				<div id="cboxBottomLeft" style="float: left;"></div>
				<div id="cboxBottomCenter" style="float: left;"></div>
				<div id="cboxBottomRight" style="float: left;"></div>
			</div>
		</div>
		<div
			style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div>
	</div>
</body>
</html>